import { configureStore } from "@reduxjs/toolkit";
import countSliceReducer from "./countSlice";
import doctorSliceReducer from "./doctorSlice";

export const store = configureStore({
  // reducer的合并
  reducer: {
    counter: countSliceReducer, // 获取state的语法，
    doctors: doctorSliceReducer,
  },
});

console.log(store.getState());
